package com.tianjin.design.builder;

public class People {
	
	private Head head;
	private Body body;
	private Arm arm;
	private Leg leg;
	public Head getHead() {
		return head;
	}
	public void setHead(Head head) {
		this.head = head;
	}
	public Body getBody() {
		return body;
	}
	public void setBody(Body body) {
		this.body = body;
	}
	public Arm getArm() {
		return arm;
	}
	public void setArm(Arm arm) {
		this.arm = arm;
	}
	public Leg getLeg() {
		return leg;
	}
	public void setLeg(Leg leg) {
		this.leg = leg;
	}
	public People() {}
	public People(Head head, Body body, Arm arm, Leg leg) {
		super();
		this.head = head;
		this.body = body;
		this.arm = arm;
		this.leg = leg;
	}
	@Override
	public String toString() {
		return "People [head=" + head + ", body=" + body + ", arm=" + arm + ", leg=" + leg + "]";
	}
	
	
}
